﻿<Window x:Class="CraigsCrawler.EditSearchStorage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Edit Search Storage" Height="200" Width="500">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="40" />
            <RowDefinition Height="*" />
            <RowDefinition Height="20" />
        </Grid.RowDefinitions>
        
        <TextBox Grid.Row="0" Width="auto" Name="SearchStorageName" FontSize="20" IsEnabled="False" />

        <StackPanel Grid.Row="1" Orientation="Vertical">
            <TextBox Width="auto" Name="Query" IsEnabled="True" Margin="0 10" />
        
            <StackPanel Orientation="Horizontal">
                <Button Name="OpenButton" Content="Open" Width="100" Click="OpenButton_Click" />
                <Button Name="CopyButton" Content="Copy" Width="100" Click="CopyButton_Click" />
                <Button Name="PasteButton" Content="Paste" Width="100" Click="PasteButton_Click" />
            </StackPanel>
            
            <StackPanel Orientation="Horizontal" Margin="0 10">
                <Button Name="Scrub" Content="Scrub" Width="100" Click="Scrub_Click" />
                <Button Name="Empty" Content="Empty" Width="100" Click="Empty_Click" />
                <Button Name="Delete" Content="Delete" Width="100" Click="Delete_Click" />
            </StackPanel>
        </StackPanel>
        
        <StackPanel Grid.Row="2" HorizontalAlignment="Right" Orientation="Horizontal">
            <Button Width="100" Content="OK" Name="OKButton" Click="OKButton_Click" />
            <Button Width="100" Content="Cancel" Name="CancelButton" Click="CancelButton_Click" />
        </StackPanel>
    </Grid>
</Window>
